const to_date = require('./to_date')

//格式化时间的功能
const dtStr = to_date.dateFormat(new Date())
console.log(dtStr,"_____________________");

const html = '<h1 title="abc">这是h1标签<span>123&nbsp;</span></h1>'
const str = to_date.htmlEscape(html)
console.log(str,"_____________________");

const html1 = to_date.htmlUnEscape(str)
console.log(html1,"_____________________");